package com.itheima.alipay.service;


import javax.servlet.http.HttpServletRequest;

import com.itheima.alipay.bean.AlipayBean;

public interface AliPayService {


    /**
     * 支付接口
     */
    String aliPay(AlipayBean alipayBean) throws Exception;

    /**
     * 验签接口
     */
    void checkSign(HttpServletRequest request) throws Exception;

    /**
     * 统一收单下单并支付页面接口调用 和 aliPay(AlipayBean alipayBean)一样
     */
    String tradePagePay(Long productId);
}
